package game;

import javax.microedition.lcdui.Graphics;

import internal.Constants;
import internal.GameScreen;

public class MainScreen extends GameScreen {

	public MainScreen(int id, GameScreen parent) {
		super(id, parent);
		Constants.loadImages();
		this.setFullScreenMode(true);
	}

	public void paint(Graphics g) {
		g.setColor(104, 144, 104);
		g.fillRect(0, 0, g.getClipWidth(), g.getClipHeight());
		g.drawImage(Constants.mainscreen, g.getClipWidth()/2, g.getClipHeight()/2, Graphics.HCENTER | Graphics.VCENTER);
		g.drawImage(Constants.maintitle, g.getClipWidth()/2 ,g.getClipHeight()/2, Graphics.HCENTER | Graphics.VCENTER);

	}

	public void update() {
		// TODO Auto-generated method stub

	}

}
